const path = require('path')

const helper = {
    total: 18,
    downloadDir: path.resolve(__dirname, "./download"),
    htmlPath (page) {
        return path.join(this.downloadDir, `${page}.html`)
    }
}

helper.htmlPath = helper.htmlPath.bind(helper)

module.exports = helper
